import {Text, View,StyleSheet} from 'react-native';
import BookList from '../../components/BookList';
import {TBookItem} from '../../types/book';
import NavBar from '../../components/NavBar';
import {useEffect, useState} from 'react';
import {fetchBookList} from '../../api';

export interface NotificationDetailProps {
  navigation: any;
}
const NotificationDetail = (props: NotificationDetailProps) => {
  const {navigation} = props;
  const [list, setList] = useState<TBookItem[]>([]);
  return (
    <View style={styles.container}>
      <Text>详情页</Text>
    </View>
  );
};

// 样式
const styles = StyleSheet.create({
  container: {
    width:'100%',
    height:50,
  },
  
});

export default NotificationDetail;
